package com.demo.bookstore.dao;

import com.demo.bookstore.bean.Book;

import java.util.List;

/**
 * @author ddone
 * @date 2024/3/14-20:53
 */
public interface BookDao {
    List<Book> findBookList();

    int addBook(Book book);

    int deleteBook(int id);

    Book findBookById(int id);

    int updateBook(Book book);
}
